// 1em=12px
.wea-workrelate-risk-portrait-right-container {
  .wea-new-top-content {
    // height: auto !important;
  }

  //主体内容区域样式开始
  .content-wrapper {
    position: relative;
    background: #f4f4f4;
    padding: 1.7em;
    overflow: hidden;
  }

  //个人首页样式开始
  .wea-wr-portrait-personal-container {
    width: 100%;
    border: solid 1px #e2e2e2;
    background: #fff;
    position: relative;

    .bg-container {
      width: 100%;
      height: auto;
      min-height: 15em;
      border:none;
      background-image: url('/workrelate/images/portrait/index/top.png');
      background-size: 100% 100%;
      background-repeat: no-repeat;
    }
    //个人信息展示区域
    .basic-info-container {
      position: relative;
      margin: 0px auto;
      display: flex;
      justify-content: center;
      align-items: flex-start;

      .avatar-wrapper {
        display: inline-block;
        width: 8.3em; //头像可考虑不放大
        height: 8.3em;
        border: solid 0.25em #fff;
        border-radius: 50%;
        margin-top: 1.25em;
        .wea-avatar {
          vertical-align: inherit;
        }
      }

      .info-wrapper {
        display: inline-block;
        padding-left: 1.9em;
        width: 42.5em;
        margin-top: .7em;

        .top-info {
          display: flex;
          align-items: center;

          .name-span {
            color: #333333;
            font-weight: 400;
            font-size: 1.5em;
            height: 2em;
            line-height: 2em;
            letter-spacing: 0px;
            text-align: left;
            display: inline-block;
            text-overflow: ellipsis;
            overflow: hidden;
            white-space: nowrap;
            max-width: 7.5em;
          }

          .signature-container {
            margin-left: 1.6em;
            color: #999999;
            letter-spacing: 0px;
            text-align: left;
            display: inline-block;
          }

          .signature-span {
            display: inline-block;
            margin-right: 0.4em;
          }

          .sign-input {
            width: auto;
            min-width: 10em;
            margin-right: 0.7em;
            vertical-align: top;
            border: 1px solid #d9d9d9;
            border-radius: 4px;
            height: 2em;
            line-height: 2em;
          }
        }
        .tag-info {
          .anticon-cross {
            display: none;
          }
          .ant-tag:hover .anticon-cross {
            display: inherit;
          }
          .edit-tag {
            margin-top: .4em;
            min-width: 5em;
            text-align: center;
            vertical-align: middle;
          }
          .site-tag-plus {
            margin-top: .4em;
          }
        }
        .main-info {
          margin-top: .8em;
          .detail-span {
            width: 33%;
            display: inline-block;
          }
        }
      }
    }

    //综合素质信息展示区域
    .classification-score-container {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      width: 100%;

      .complex-score-wrapper {
        width: 100%;
        margin: 1em auto 0 auto;
        

        .title {
          color: #333333;
          font-weight: 400;
          font-size: 1.5em;
          letter-spacing: 0px;
          text-align: left;
          margin-right: 1.7em;
          display: inline-block;
          min-height: 3em;
          line-height: 3em;
        }
        .goal-span {
          font-weight: 400;
          font-size: 3em;
          letter-spacing: 0px;
          text-align: left;
          margin-right: 1.7em;
          display: inline-block;
        }

        .percent-span {
          font-weight: 400;
          font-size: 3em;
          letter-spacing: 0px;
          text-align: left;
          display: inline-block;
        }

        .left-wrapper {
          text-align: right;
          white-space: nowrap;
        }

        .right-wrapper {
          text-align: left;
          white-space: nowrap;
        }

        @media only screen and (max-width:991px) {
          .left-wrapper {
            text-align: center;
          }
          .right-wrapper {
            text-align: center;
          }
          .goal-span {
            margin-right: 0;
          }
        }
      }

      .classification-score-wrapper {
        width: 100%;

        .ant-card {
          box-shadow: 1px 1px 5px -3px #000000;
          max-width: 33.33em;
          margin: 0 auto;
          transition: all .3s ease-in-out;
        }

        .ant-card:hover {
          transform: scale(1.05);
        }

        .title-span {
          color: #333333;
          font-weight: 500;
          font-size: 1.5em;
          // line-height: 16px;
          letter-spacing: 0px;
          text-align: left;
          display: inline-block;
          margin-top: 15px;
          position: relative;
          top: -8px;
          left: 20px;
        }
        .icon-span {
          font-size: 3.2em;// or 3.1em
        }

        .ant-progress-text {
          font-size: 1.7em; // or 1.6em
          white-space: nowrap;
          text-overflow: ellipsis;
        }
      }

      @media only screen and (max-width: 991px) {
        .classification-score-wrapper {
          margin-top: .66em;
        }
        .ant-col-md-12 {
          margin-top: .66em;
        }
      }
     
    }

    //影响力区域
    .portrait-personal-influence-container {
      margin: 1.7em;
      padding: 1.33em 1.33em 0 1.33em;

      // 顶部标题栏
      .top-title-wrapper {
        display: flex;
        border-bottom: 1px solid #e2e2e2;
        justify-content: space-between;
         
      .titile-icon {
        display: inline-block;
        width: .41em;
        height: 1.16em;
        background: #2db7f5;
        margin-right: .33em;
        position: relative;
        transform: translateY(15%);
      }

      .title {
        color: #333333;
        font-weight: 500;
        font-size: 1.2em;
        letter-spacing: 0px;
        text-align: left;
        display: inline-block;
      }

      }
      .top-title-wrapper > div {
        display: inline-block;
        height: 3.33em;
        line-height: 3.33em;
      }
      .top-title-wrapper > span {
        display: inline-block;
        text-align: left;
        color: #999999;
        height: 3.33em;
        line-height: 3.33em;
      }

      .items-wrapper {
        padding-top: 10px;
        .icon-span {
          display: inline-block;
          width: 1.6em;
          height: 1.6em;
          border-radius: 4px;
          text-align: center;
          font-size: 1.3em;
          line-height: 1.6em;
          margin-right: 10px;
        }
        .info-span {
          color: #333333;
          font-weight: 400;
          max-width: 90%;
          line-height: 3.17em;
          letter-spacing: 0px;
          display: inline-block;
          height: 3.17em;
          position: relative;
          transform: translateY(-17%);
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
          vertical-align: middle;
        }
        .info-span > strong {
          color: #1589dd;
          font-weight: 400;
          font-size: 1.5em;
          // line-height: 16px;
          letter-spacing: 0px;
          text-align: left;
          margin-left: .25em;
          margin-right: .25em;
        }
        .divider {
          width: 90%;
          border-top: solid 1px #e2e2e2;
        }
        .ant-row > div {
          height: 50px;
          line-height: 50px;
          padding-left: 20px;
        }
        @media only screen and (max-width: 991px) {
          .ant-col-md-12 {
            margin-top: .66em;
          }
        }
      }
    }

    //系统工作记录区域
    .portrait-personal-syswkrecord-container {
      margin: 1.7em;
      padding: 0 1.33em 1.33em 1.33em;
      .top-wrapper {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;

        .titile-icon {
          display: inline-block;
          width: .41em;
          height: 1.16em;
          background: #2db7f5;
          margin-right: 0.33em;
          transform: translateY(15%);
        }

        .title {
          color: #333333;
          font-weight: 500;
          font-size: 1.2em;
          height: 3.33em;
          line-height: 3.33em;
          letter-spacing: 0px;
          text-align: left;
          display: inline-block;
        }

      }
      // 新版气泡组件样式开始
      .wr-public-bubble-container{
        border-top: 1px solid #e2e2e2;
        min-width: 600px;
        height: 400px;
        position: relative;
    
        .circle {
            width: 120px;
            height: 120px;
            border-radius: 120px;
            display: inline-block;
            cursor: pointer;
            opacity: 0;
            position: absolute;   

        }

        .c-appear {
          opacity: 1;
        }

        .c-openShow--active {
            animation: zoomIn 1s ease 0s 1 alternate ;
            -webkit-animation: zoomIn 1s ease 0s 1 alternate ;
            -moz-animation: zoomIn 1s ease 0s 1 alternate ;
            -o-animation: zoomIn 1s ease 0s 1 alternate ;
        }

        @keyframes zoomIn {
            0% {
              opacity: 0;
              -webkit-transform:scale3d(.3,.3,.3);
              transform: scale3d(0.3, 0.3, 0.3);
            }
    
            50% {
              opacity: 1;
            }
        }

      
    
        .circle:hover {
            //scale3d(1.2,1.2,1.2) 字体模糊
            -webkit-transform: scale(1.3);
            -ms-transform: scale(1.3);
            transform: scale(1.3);
            z-index: 1;
        }
    
        .dot {
            top: 50%;
            left: 50%;
            margin-left: -60px;/*盒子宽度的一半*/
            margin-top: -90px;/*盒子高度的3/4*/
            background: #312DF5;  /* fallback for old browsers */
            // background: -webkit-linear-gradient(to left, #8E54E9, #312DF5);  /* Chrome 10-25, Safari 5.1-6 */
            // background: linear-gradient(to left, #8E54E9, #312DF5); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
        }
        .ring {
            width: 90px;
            height: 90px;
            background: #1589DD;  /* fallback for old browsers */
            // background: -webkit-linear-gradient(to right, #1589DD, #1FA2FF);  /* Chrome 10-25, Safari 5.1-6 */
            // background: linear-gradient(to right, #1589DD, #1FA2FF); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
            
        }
        .rotate {
            width: 75px;
            height: 75px;
            background: #73B8EB;  /* fallback for old browsers */
            // opacity: .7;
            // background: -webkit-linear-gradient(to right, #1FA2FF, #39BAE8);  /* Chrome 10-25, Safari 5.1-6 */
            // background: linear-gradient(to right, #1FA2FF, #39BAE8); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
            
        }
        .surround {
            width: 60px;
            height: 60px;
            background: #60C498; /* fallback for old browsers */
            // background: -webkit-linear-gradient(to left, #60c498, #ACBB78); /* Chrome 10-25, Safari 5.1-6 */
            // background: linear-gradient(to left,#60c498, #ACBB78); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
        }
    
        .random {
           display: none;
        //    opacity: 0;
        }
    
        @media only screen and (min-width:1400px) {
            .random {
                display: inline-block;
                // opacity: 1;
             }
        }
        
        .circle > div {
            position: relative;
            left: 10%;
            display: inline-block;
            width: 80%;
            text-align: center;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            color: #fff;
        }
        .circle >div:last-child {
          font-size: 12px; //不跟随系统字体大小变化
        }
        .dot div:first-child {
            top: 20%;
            font-size: 36px;
        }
        .dot div:last-child {
            top: 9%;
        }
        .ring div:first-child {
            top: 20%;
            font-size: 24px;
        }
        .ring div:last-child {
            top: 7%;
        }
        .rotate div:first-child {
            top: 20%;
            font-size: 20px;
        }
        .rotate div:last-child {
            top: 6%;
        }
        .surround div:first-child {
            top: 16%;
            font-size: 20px;
        }
        .surround div:last-child {
            top: -6%;
        }
      }
    }
  }

  // 个人画像执行力评测
  .wea-workrelate-individual-portrait-exec-assess {
    width: 100%;
    position: relative;
    .task-goal-wrapper {
      width: 100%;
      display: flex;
      justify-content: space-between;
      margin-bottom: 1.7em;
      .goal-wrapper,
      .task-wrapper {
        width: 49.25%;
        background: #fff;
      }
    }
    .performance-wrapper {
      background: #fff;
    }
  }

  //风险管理页面样式开始
  .wea-wr-portrait-risk-container {
    width: 100%;
    border: solid 1px #f4f4f4;
    background: #f4f4f4;
    position: relative;

    .data-card-wrapper {
      background: #fff;
      margin: 1.7em auto;
      border-top: 2px solid #f2994a;
      width: 100%;
      position: relative;
      height: 23.3em;
      border-left: solid 1px #e2e2e2;
      overflow: hidden;

      .icon-wrapper {
        font-size: 93px;
        color: #f0f5fa;
        position: absolute;
        right: 1px;
        top: -30px;
      }

      .title-row {
        margin-bottom: 1.7em;
        margin-top: 2em;
        margin-left: 2em;

        .title-span {
          color: #303133;
          font-weight: 500;
          font-size: 1.2em;
          line-height: 1.83em;
          letter-spacing: 0px;
          text-align: left;
          height: 1.83em;
          display: inline-block;
        }
      }
      .data-list-wrapper {
        padding: .83em 3.25em 1.58em 3.25em;

        .data-row {
          border-bottom: 1px solid #dbdbdb;
          padding-right: .83em;
        }
        .data-col {
          height: 3.66em;
          line-height: 3.66em;
          display: flex;
          align-items: center;
          justify-content: space-between;
        }
        .name-span {
          display: inline-block;
          height: 2.3em;
          color: #333333;
          font-weight: 400;
          // font-size: 12px;
          line-height: 2.3em;
          letter-spacing: 0px;
          text-align: left;
          vertical-align: middle;
          text-overflow: ellipsis;
          white-space: nowrap;
          overflow: hidden;
        }
        .rate-span {
          display: inline-block;
          border-radius: 4px;
          background: #ffebeb;
          border: 1px solid #fde2e2;
          height: 2.3em;
          color: #f56c6c;
          font-weight: 400;
          // font-size: 12px;
          line-height: 2.3em;
          letter-spacing: 0px;
          vertical-align: middle;
          text-align: center;
          padding: 0 .83em;
          white-space: nowrap;
        }
        .count-span {
          display: inline-block;
          height: 2.3em;
          line-height: 2.3em;
          color: #f2994a;
          font-family: Arial Hebrew;
          font-weight: 700;
          font-size: 2em;
          line-height: 2.3em;
          letter-spacing: 0px;
          vertical-align: middle;
          text-align: left;
        }
      }
    }

  }
}

//标签组选择组件
.wea-wr-editable-tag-group-container {
  .edit-tag {
    margin-right: .8em;
  }
  .tag-input {
    max-width: 6.5em;
    max-height: 1.7em;
    margin-right: .6em;
    vertical-align: top;
    line-height: 1.5;
    background-color: #fff;
    background-image: none;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    transition: all 0.3s;
    position: relative;
    display: inline-block;
    max-width: 6.5em;
    top: .25em;
  }
  .ant-tag-text {
    position: relative;
    top: -0.17em;
    max-width: 10em;
    vertical-align: middle;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .anticon {
    position: relative;
    top: -0.08em;
  }
}
